<%--
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
--%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE HTML>
<html>
    <head>
    </head>
    <body>
        <div>
            ZALOGUJ SIĘ
        </div>
        <!-- action="${flowExecutionUrl}&_eventId=submit"-->
        <form:form modelAttribute="dummyUser" method="POST">
        	<!--  
        	<input type="hidden" name="_flowExecutionUrl" value="${flowExecutionUrl}" />
        	<input type="hidden" name="_eventId" value="submit" />
            -->
            
            <label for="username">Login: </label>
            <form:input path="username" />
            <label for="password">Haslo: </label>
            <form:input path="password" />
            <input type="submit" name="_eventId_submit" value="Zaloguj" />
            <input type="submit" name="_eventId_remindPassword" value="Przypomnij Haslo" />
        </form:form>
        
        <br/>
        <!--  
        <a href="${flowExecutionUrl}&_eventId=submit">
        	<button>Zaloguj</button>
        </a>
        <br/>
        <a href="${flowExecutionUrl}&_eventId=remindPassword">
        	<button>Przypomnij haslo</button>
        </a>
        -->
    </body>
</html>